#include <iostream>
//#include <vector>
using namespace std;
#if 0
int main(void)
{
	vector<int>array;
	array.push_back(100);
	array.push_back(300);
	array.push_back(300);
	array.push_back(300);
	array.push_back(300);
	array.push_back(500);

	vector<int>::iterator itor;
	for (itor = array.begin(); itor != array.end(); itor++)
	{
		if (*itor == 300)
		{
			itor = array.erase(itor);
		}
	}
	for (itor = array.begin(); itor != array.end(); itor++)
	{
		cout << *itor << " ";
	}

	return 0;

}

int main()
{

	int a = 1 ^ 1;
	cout << a << endl;


	return 0;
}

int main()
{
	int a = 0;
	int b(1);
	int c = int(2);
	int d = int();

	return 0;
}
# endif

namespace my_vector
{
	template<typename T>
	class vector
	{
		typedef T* iterator;
	public:
		vector(size_t n, const T& val = T())
		{
			while (n != 0)
			{
				push_back(val);
			}
		}

		void push_back(const T& val)
		{

		}

	private:
		iterator _start;
		iterator _finish;
		iterator _end_of_storage;
	};
}

int main()
{
	vector<int> v4(10, 1);
	for (auto e : v4)
	{
		cout << e << " ";
	}
	cout << endl;


	return 0;
}